package com.ruoyi.system.chat.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class ApiKeyBalanceEntity {

    @JsonProperty("hard_limit_usd")
    private BigDecimal hardLimitUsd;

    private String object;

    @JsonProperty("has_payment_method")
    private Boolean hasPaymentMethod;

    @JsonProperty("total_usage")
    private BigDecimal totalUsage;

    private Error error;

    // 原始内容
    private String subscriptions;

    // 原始内容
    private String usage;

    @Data
    public static class Error {
        private int status;
        private String type;
        private String code;
    }

}
